<?php
global $FullUrls;
define('UC_DIR','./kam/usercontrols/');
define('UC_DIR_ADMIN','./kam/admin/themes/moo/usercontrols/');
define('UC_DIR_TPL','./templates/themes/game/usercontrols/');
define('UC_DIR_MD','./kam/modules/');

class Template{
	static function UserControl($name, $parameters = null){		
		include(UC_DIR.$name.'.php');
	}
	static function UserControlTPL($name, $parameters = null){		
		include(UC_DIR_TPL.$name.'.php');
	}
	
	static function UserControlAD($name, $parameters = null){		
		include(UC_DIR_ADMIN.$name.'.php');
	}
}
?>